package com.kb.entity.kbidm;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 客户表;
 * @author : 陈志翔
 * @date : 2024-9-24
 */
//@Data
@TableName("KB_Sys_Cust")
public class KbSysCust implements Serializable,Cloneable{
    /** 主键 */
    @TableId(value = "F_Id",type = IdType.INPUT)
    private String fId ;
    /** CRM客户表Id */
    private Long fRecid ;
    /** 客户编码 */
    private String custcode ;
    /** 客户名称 */
    private String custname ;
    /** 客户简称 */
    private String custnickname ;
    /** 客户地址id */
    private String addressid ;
    /** 客户手机/固话 */
    private String custtel ;
    /** 客户传真 */
    private String custfax ;
    /** 客户备注 */
    private String custnotes ;
    /** 注册时间 */
    private LocalDateTime regtime ;
    /** CRM用户id */
    private Integer sysuserid ;
    /** CRM部门id */
    private Integer departmentid ;
    /** CRM创建用户Id */
    private Integer creatorid ;
    /** CRM上次更新时间 */
    private Date lastupdate ;
    /** 删除标记 */
    private Integer fDeletemark ;
    /** 创建时间 */
    private Date fCreatortime ;
    /**  */
    private String fCreatoruserid ;
    /**  */
    private Date fLastmodifytime ;
    /**  */
    private String fLastmodifyuserid ;
    /** 状态 */
    private Integer status ;
    /** 付款周期 */
    @TableField(value = "PaymentTermId")
    private Integer PaymentTermId ;
    /** 客户类型 */
    private String custtype ;
    /** 授信额度 */
    private Double creditlimit ;
    /** 当前使用的主体，1为正在使用 */
    private Integer isactivate ;
    /** 用户id */
    private String fUserid ;



    /** 行业类型 */
    @TableField(value = "IndustryType")
    private String IndustryType ;
    public String getIndustryType() {
        return IndustryType;
    }

    public void setIndustryType(String industryType) {
        IndustryType = industryType;
    }


    public String getCustAddress() {
        return CustAddress;
    }

    public void setCustAddress(String custAddress) {
        CustAddress = custAddress;
    }

    /** 客户地址 */
    @TableField(value = "CustAddress")
    private String CustAddress;

    public Integer getPaymentTermId() {
        return PaymentTermId;
    }

    public void setPaymentTermId(Integer paymentTermId) {
        PaymentTermId = paymentTermId;
    }
    public String getfId() {
        return fId;
    }

    public Long getfRecid() {
        return fRecid;
    }

    public String getCustcode() {
        return custcode;
    }

    public String getCustname() {
        return custname;
    }

    public String getCustnickname() {
        return custnickname;
    }

    public String getAddressid() {
        return addressid;
    }

    public String getCusttel() {
        return custtel;
    }

    public String getCustfax() {
        return custfax;
    }

    public String getCustnotes() {
        return custnotes;
    }

    public LocalDateTime getRegtime() {
        return regtime;
    }

    public Integer getSysuserid() {
        return sysuserid;
    }

    public Integer getDepartmentid() {
        return departmentid;
    }

    public Integer getCreatorid() {
        return creatorid;
    }

    public Date getLastupdate() {
        return lastupdate;
    }

    public Integer getfDeletemark() {
        return fDeletemark;
    }

    public Date getfCreatortime() {
        return fCreatortime;
    }

    public String getfCreatoruserid() {
        return fCreatoruserid;
    }

    public Date getfLastmodifytime() {
        return fLastmodifytime;
    }

    public String getfLastmodifyuserid() {
        return fLastmodifyuserid;
    }

    public Integer getStatus() {
        return status;
    }

    public String getCusttype() {
        return custtype;
    }

    public Double getCreditlimit() {
        return creditlimit;
    }

    public Integer getIsactivate() {
        return isactivate;
    }

    public String getfUserid() {
        return fUserid;
    }

    public void setfId(String fId) {
        this.fId = fId;
    }

    public void setfRecid(Long fRecid) {
        this.fRecid = fRecid;
    }

    public void setCustcode(String custcode) {
        this.custcode = custcode;
    }

    public void setCustname(String custname) {
        this.custname = custname;
    }

    public void setCustnickname(String custnickname) {
        this.custnickname = custnickname;
    }

    public void setAddressid(String addressid) {
        this.addressid = addressid;
    }

    public void setCusttel(String custtel) {
        this.custtel = custtel;
    }

    public void setCustfax(String custfax) {
        this.custfax = custfax;
    }

    public void setCustnotes(String custnotes) {
        this.custnotes = custnotes;
    }

    public void setRegtime(LocalDateTime regtime) {
        this.regtime = regtime;
    }

    public void setSysuserid(Integer sysuserid) {
        this.sysuserid = sysuserid;
    }

    public void setDepartmentid(Integer departmentid) {
        this.departmentid = departmentid;
    }

    public void setCreatorid(Integer creatorid) {
        this.creatorid = creatorid;
    }

    public void setLastupdate(Date lastupdate) {
        this.lastupdate = lastupdate;
    }

    public void setfDeletemark(Integer fDeletemark) {
        this.fDeletemark = fDeletemark;
    }

    public void setfCreatortime(Date fCreatortime) {
        this.fCreatortime = fCreatortime;
    }

    public void setfCreatoruserid(String fCreatoruserid) {
        this.fCreatoruserid = fCreatoruserid;
    }

    public void setfLastmodifytime(Date fLastmodifytime) {
        this.fLastmodifytime = fLastmodifytime;
    }

    public void setfLastmodifyuserid(String fLastmodifyuserid) {
        this.fLastmodifyuserid = fLastmodifyuserid;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setCusttype(String custtype) {
        this.custtype = custtype;
    }

    public void setCreditlimit(Double creditlimit) {
        this.creditlimit = creditlimit;
    }

    public void setIsactivate(Integer isactivate) {
        this.isactivate = isactivate;
    }

    public void setfUserid(String fUserid) {
        this.fUserid = fUserid;
    }
}